import numpy as np
x = np.array([[50,0],[21,48],[10,2]])
x = x.flatten() # 展平
print(x)
print(x[np.array([1,2,3])]) # 获取下标为1,2,3的元素
print(x > 15)
print(x[x > 15])